﻿@using Pyramid.Mvc.Html
@model Pyramid.Models.ReturnVisitRecord

<div class="pageContent">
	@using (Html.BeginForm("EditReturnVisitRecord", "CustomerHealth", FormMethod.Post, new {@class = "pageForm required-validate", onsubmit = "return validateCallback(this, refreshAjaxDone);"}))
	{
		<div class="pageFormContent" layouth="60">
			@Html.HiddenFor(x => x.Id)
			@Html.HiddenFor(x => x.MasterId)
			<p class="nowrap">
				@Html.LabelFor(model => model.VisitDate)
				@Html.DateInputFor(model => model.VisitDate)
			</p>
			<p class="nowrap">
				@Html.LabelFor(model => model.CustomerSituation)
				@Html.TextAreaFor(model => model.CustomerSituation, new {@class = "longText longParagraph"})
			</p>
			<p class="nowrap">
				@Html.LabelFor(model => model.Remark)
				@Html.TextAreaFor(model => model.Remark, new {@class = "longText longParagraph"})
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">保存</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">取消</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	}
</div>
